package org.example.kunkun_filter.dao;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class LoginResponse {
    private String token;
    private User user;
    private Long expiresIn;

    @Data
    public static class User {

        private Integer id;

        private String openid;

        private String nickname;

        private Integer identity;

        private String avatarUrl;

        private LocalDateTime createTime;

        private LocalDateTime membershipStartTime;

        private Integer membershipContinueMinutes;

        private Integer downloadCount;

        private Integer downloadTotalCount;

        private LocalDateTime lastDownloadTime;
    }
}
